Optimal. Leaf size=139 \[ \frac{2}{27} (2 x+1)^2 \left (3 x^2-x+2\right )^{7/2}+\frac{1}{648} (122 x+137) \left (3 x^2-x+2\right )^{7/2}-\frac{445 (1-6 x) \left (3 x^2-x+2\right )^{5/2}}{15552}-\frac{51175 (1-6 x) \left (3 x^2-x+2\right )^{3/2}}{746496}-\frac{1177025 (1-6 x) \sqrt{3 x^2-x+2}}{5971968}-\frac{27071575 \sinh ^{-1}\left (\frac{1-6 x}{\sqrt{23}}\right )}{11943936 \sqrt{3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0917934, antiderivative size = 139, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 5, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {1653, 779, 612, 619, 215} \[ \frac{2}{27} (2 x+1)^2 \left (3 x^2-x+2\right )^{7/2}+\frac{1}{648} (122 x+137) \left (3 x^2-x+2\right )^{7/2}-\frac{445 (1-6 x) \left (3 x^2-x+2\right )^{5/2}}{15552}-\frac{51175 (1-6 x) \left (3 x^2-x+2\right )^{3/2}}{746496}-\frac{1177025 (1-6 x) \sqrt{3 x^2-x+2}}{5971968}-\frac{27071575 \sinh ^{-1}\left (\frac{1-6 x}{\sqrt{23}}\right )}{11943936 \sqrt{3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1653
Rule 779
Rule 612
Rule 619
Rule 215
Rubi steps
\begin{align*} \int (1+2 x) \left (2-x+3 x^2\right )^{5/2} \left (1+3 x+4 x^2\right ) \, dx &=\frac{2}{27} (1+2 x)^2 \left (2-x+3 x^2\right )^{7/2}+\frac{1}{108} \int (1+2 x) (72+244 x) \left (2-x+3 x^2\right )^{5/2} \, dx\\ &=\frac{2}{27} (1+2 x)^2 \left (2-x+3 x^2\right )^{7/2}+\frac{1}{648} (137+122 x) \left (2-x+3 x^2\right )^{7/2}+\frac{445}{432} \int \left (2-x+3 x^2\right )^{5/2} \, dx\\ &=-\frac{445 (1-6 x) \left (2-x+3 x^2\right )^{5/2}}{15552}+\frac{2}{27} (1+2 x)^2 \left (2-x+3 x^2\right )^{7/2}+\frac{1}{648} (137+122 x) \left (2-x+3 x^2\right )^{7/2}+\frac{51175 \int \left (2-x+3 x^2\right )^{3/2} \, dx}{31104}\\ &=-\frac{51175 (1-6 x) \left (2-x+3 x^2\right )^{3/2}}{746496}-\frac{445 (1-6 x) \left (2-x+3 x^2\right )^{5/2}}{15552}+\frac{2}{27} (1+2 x)^2 \left (2-x+3 x^2\right )^{7/2}+\frac{1}{648} (137+122 x) \left (2-x+3 x^2\right )^{7/2}+\frac{1177025 \int \sqrt{2-x+3 x^2} \, dx}{497664}\\ &=-\frac{1177025 (1-6 x) \sqrt{2-x+3 x^2}}{5971968}-\frac{51175 (1-6 x) \left (2-x+3 x^2\right )^{3/2}}{746496}-\frac{445 (1-6 x) \left (2-x+3 x^2\right )^{5/2}}{15552}+\frac{2}{27} (1+2 x)^2 \left (2-x+3 x^2\right )^{7/2}+\frac{1}{648} (137+122 x) \left (2-x+3 x^2\right )^{7/2}+\frac{27071575 \int \frac{1}{\sqrt{2-x+3 x^2}} \, dx}{11943936}\\ &=-\frac{1177025 (1-6 x) \sqrt{2-x+3 x^2}}{5971968}-\frac{51175 (1-6 x) \left (2-x+3 x^2\right )^{3/2}}{746496}-\frac{445 (1-6 x) \left (2-x+3 x^2\right )^{5/2}}{15552}+\frac{2}{27} (1+2 x)^2 \left (2-x+3 x^2\right )^{7/2}+\frac{1}{648} (137+122 x) \left (2-x+3 x^2\right )^{7/2}+\frac{\left (1177025 \sqrt{\frac{23}{3}}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1+\frac{x^2}{23}}} \, dx,x,-1+6 x\right )}{11943936}\\ &=-\frac{1177025 (1-6 x) \sqrt{2-x+3 x^2}}{5971968}-\frac{51175 (1-6 x) \left (2-x+3 x^2\right )^{3/2}}{746496}-\frac{445 (1-6 x) \left (2-x+3 x^2\right )^{5/2}}{15552}+\frac{2}{27} (1+2 x)^2 \left (2-x+3 x^2\right )^{7/2}+\frac{1}{648} (137+122 x) \left (2-x+3 x^2\right )^{7/2}-\frac{27071575 \sinh ^{-1}\left (\frac{1-6 x}{\sqrt{23}}\right )}{11943936 \sqrt{3}}\\ \end{align*}
Mathematica [A] time = 0.0447259, size = 80, normalized size = 0.58 \[ \frac{6 \sqrt{3 x^2-x+2} \left (47775744 x^8+30357504 x^7+79377408 x^6+80034048 x^5+66969216 x^4+58946544 x^3+41031048 x^2+19860062 x+10960335\right )+27071575 \sqrt{3} \sinh ^{-1}\left (\frac{6 x-1}{\sqrt{23}}\right )}{35831808} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.055, size = 119, normalized size = 0.9 \begin{align*}{\frac{8\,{x}^{2}}{27} \left ( 3\,{x}^{2}-x+2 \right ) ^{{\frac{7}{2}}}}+{\frac{157\,x}{324} \left ( 3\,{x}^{2}-x+2 \right ) ^{{\frac{7}{2}}}}+{\frac{185}{648} \left ( 3\,{x}^{2}-x+2 \right ) ^{{\frac{7}{2}}}}+{\frac{-445+2670\,x}{15552} \left ( 3\,{x}^{2}-x+2 \right ) ^{{\frac{5}{2}}}}+{\frac{-51175+307050\,x}{746496} \left ( 3\,{x}^{2}-x+2 \right ) ^{{\frac{3}{2}}}}+{\frac{-1177025+7062150\,x}{5971968}\sqrt{3\,{x}^{2}-x+2}}+{\frac{27071575\,\sqrt{3}}{35831808}{\it Arcsinh} \left ({\frac{6\,\sqrt{23}}{23} \left ( x-{\frac{1}{6}} \right ) } \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.56519, size = 203, normalized size = 1.46 \begin{align*} \frac{8}{27} \,{\left (3 \, x^{2} - x + 2\right )}^{\frac{7}{2}} x^{2} + \frac{157}{324} \,{\left (3 \, x^{2} - x + 2\right )}^{\frac{7}{2}} x + \frac{185}{648} \,{\left (3 \, x^{2} - x + 2\right )}^{\frac{7}{2}} + \frac{445}{2592} \,{\left (3 \, x^{2} - x + 2\right )}^{\frac{5}{2}} x - \frac{445}{15552} \,{\left (3 \, x^{2} - x + 2\right )}^{\frac{5}{2}} + \frac{51175}{124416} \,{\left (3 \, x^{2} - x + 2\right )}^{\frac{3}{2}} x - \frac{51175}{746496} \,{\left (3 \, x^{2} - x + 2\right )}^{\frac{3}{2}} + \frac{1177025}{995328} \, \sqrt{3 \, x^{2} - x + 2} x + \frac{27071575}{35831808} \, \sqrt{3} \operatorname{arsinh}\left (\frac{1}{23} \, \sqrt{23}{\left (6 \, x - 1\right )}\right ) - \frac{1177025}{5971968} \, \sqrt{3 \, x^{2} - x + 2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.35887, size = 344, normalized size = 2.47 \begin{align*} \frac{1}{5971968} \,{\left (47775744 \, x^{8} + 30357504 \, x^{7} + 79377408 \, x^{6} + 80034048 \, x^{5} + 66969216 \, x^{4} + 58946544 \, x^{3} + 41031048 \, x^{2} + 19860062 \, x + 10960335\right )} \sqrt{3 \, x^{2} - x + 2} + \frac{27071575}{71663616} \, \sqrt{3} \log \left (-4 \, \sqrt{3} \sqrt{3 \, x^{2} - x + 2}{\left (6 \, x - 1\right )} - 72 \, x^{2} + 24 \, x - 25\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (2 x + 1\right ) \left (3 x^{2} - x + 2\right )^{\frac{5}{2}} \left (4 x^{2} + 3 x + 1\right )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.2123, size = 119, normalized size = 0.86 \begin{align*} \frac{1}{5971968} \,{\left (2 \,{\left (12 \,{\left (6 \,{\left (8 \,{\left (6 \,{\left (36 \,{\left (2 \,{\left (96 \, x + 61\right )} x + 319\right )} x + 11579\right )} x + 58133\right )} x + 409351\right )} x + 1709627\right )} x + 9930031\right )} x + 10960335\right )} \sqrt{3 \, x^{2} - x + 2} - \frac{27071575}{35831808} \, \sqrt{3} \log \left (-2 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} - x + 2}\right )} + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]